<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>layout 微信菜单设置 - Layui</title>
<link rel="stylesheet" href="/layui-v2.0.1/layui/css/layui.css">
<link rel="stylesheet" href="/css/admin.css">

</head>
<body>

<div class="layui-layout layui-layout-admin">
       @include('admin.header')
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
       @include('admin.leftadmin')
    </div>
  </div>
    
  <div class="layui-body">
    <!-- 内容主体区域 -->
     <div style="margin-top: 30px;font-size: 30px">└(^o^)┘{[$msg]}<strong id="endtime"></strong>秒后返回..</div>

  </div>
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © layui.com - 底部固定区域
  </div>
</div>
<script src="/layui-v2.0.1/layui/layui.js"></script>


</script>

<script type="text/javascript">
var i = {[$time]};  
function remainTime(){  
    if(i==0){  
        window.history.go(-1); 
    }  
    document.getElementById('endtime').innerHTML=i--;  
    setTimeout("remainTime()",1000);  
}  
remainTime();  

</script>
